package com.spring.bean.parsedoc.test.property;

import com.spring.bean.parsedoc.test.replacedmethod.TestChangeMethod;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @ClassName: Main
 * @Author: suncx
 * @CreateDate: 2020-03-23 15:50
 * @Description:
 */
public class Main {
    public static void main(String[] args) {
        ApplicationContext bf = new ClassPathXmlApplicationContext("/bean/MethodReplacerTest.xml");
        TestChangeMethod test = (TestChangeMethod)bf.getBean("testChangeMethod");
        test.changeMe();
    }
}
